MPHB\Core\BookingRulesData D

Total Complexity 201
Dependencies 2
Dependents 1
Total lines 912
Lines of code 482
Logical lines of code 261
Comment lines 162
Methods 21
Properties 14

Methods 21

Method Rating Maintainability Complexity Lines of code
__construct()
D
25
56 127
getBookingRulesForDate()
D
32 40 94
getNotStayInComments()
A
43 15 48
getUnavailableRoomIds()
A
48 15 29
getNotStayInRulesData()
A
49 11 29
getBlockedRoomsCountsForRoomType()
A
55 8 19
isBookingRulesViolated()
S
64 7 9
isStayInNotAllowed()
S
58 5 15
isCheckInNotAllowed()
S
63 5 10
isCheckOutNotAllowed()
S
63 5 10
isMaxStayDaysRuleViolated()
S
63 4 11
isCheckInLaterThanMaxAdvanceDate()
S
63 4 11
getMaxAdvanceReservationDaysCount()
S
66 3 8
getMinStayDaysCountForAllSeasons()
S
65 3 9
isMinStayDaysRuleViolated()
S
66 3 9
getMinStayLengthReservationDaysCount()
S
66 3 8
getBufferDaysCount()
S
66 3 8
getMinAdvanceReservationDaysCount()
S
66 3 8
isCheckInEarlierThanMinAdvanceDate()
S
66 3 9
getMaxStayLengthReservationDaysCount()
S
66 3 8
hasBufferDaysRules()
S
80 2 3